
class logger : public base
{
public:
	logger();
	~logger();

	int init(coeur*,IFileSystem*);
	int close();

	int createFile(stringc name, int id);
	int write(int id,stringc = stringc(""));
	int closeFile(int);

	bool OnEvent(const SEvent&);
private:
	IFileSystem* fs;

	string<IWriteFile*>* files;
};

